lines
fun <D> ReadOnlyProperty<D, String>.lines(): ReadOnlyProperty<D, List<String>>
Content copied to clipboard
Get the lines of the string. Trims each line, does not include blank lines.
fun <D> ReadWriteProperty<D, String>.lines(writeSeparator: String = "\n"): ReadWriteProperty<D, List<String>>
Content copied to clipboard
fun <D> ReadWriteProperty<D, String?>.lines(writeSeparator: String = "\n"): ReadWriteProperty<D, List<String>?>
Content copied to clipboard
Get the lines of the string. Trims each line, does not include blank lines.
Parameters
writeSeparator
the separator to join the lines with, on write
fun <D> ReadOnlyProperty<D, String?>.lines(): ReadOnlyProperty<D, List<String>?>
Content copied to clipboard
Get the lines of the string. Trims each line, does not inclued blank lines.